package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.YcSubjectMainly;

/**
 * 学科分类Service接口
 * 
 * @author 杨琛
 * @date 2020-11-20
 */
public interface IYcSubjectMainlyService 
{
    /**
     * 查询学科分类
     * 
     * @param id 学科分类ID
     * @return 学科分类
     */
    public YcSubjectMainly selectYcSubjectMainlyById(Long id);

    /**
     * 查询学科分类列表
     * 
     * @param ycSubjectMainly 学科分类
     * @return 学科分类集合
     */
    public List<YcSubjectMainly> selectYcSubjectMainlyList(YcSubjectMainly ycSubjectMainly);

    /**
     * 新增学科分类
     * 
     * @param ycSubjectMainly 学科分类
     * @return 结果
     */
    public int insertYcSubjectMainly(YcSubjectMainly ycSubjectMainly);

    /**
     * 修改学科分类
     * 
     * @param ycSubjectMainly 学科分类
     * @return 结果
     */
    public int updateYcSubjectMainly(YcSubjectMainly ycSubjectMainly);

    /**
     * 批量删除学科分类
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteYcSubjectMainlyByIds(String ids);

    /**
     * 删除学科分类信息
     * 
     * @param id 学科分类ID
     * @return 结果
     */
    public int deleteYcSubjectMainlyById(Long id);
}
